package de.jmda.gen.java;

import javax.validation.constraints.NotNull;

import de.jmda.gen.CompoundGenerator;

public interface MethodDetailsGenerator extends CompoundGenerator
{
	@NotNull MethodSignatureGenerator getMethodSignatureGenerator();
	ThrowsClauseGenerator getThrowsClauseGenerator();
	
	void setMethodSignatureGenerator(@NotNull MethodSignatureGenerator generator);
	void setThrowsClauseGenerator(ThrowsClauseGenerator generator);

	/**
	 * @NotNull
	 * @return
	 */
	ThrowsClauseGenerator demandThrowsClauseGenerator();
}